package com.yonyou.ucf.mdf.app.isvdxq.secondpart.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "isv_prelable")
public class PrelableEntity extends BaseEntity {

    private Integer id;

    private String creator;

    private String createTime;

    private String modifier;

    private String modifyTime;

    private String puts;

    private int dr = 0;

    private int pkTemp = 0;

    private int version = 2;

    @YMSColumn(name = "ytenant_id")
    private String ytenant_id;

    //数量
    private double stockNum;
    @YMSColumn(name = "epc_tid")
    private String epc_tid;

    private String epccode;

    //orderid
    private String orderid;

    //ordercode
    private String ordercode;

    //默认到货单
    private String ordertype = "3";

    //orderdetailid
    private String orderdetailid;

    private String productId;

    private String productcode;

    private String productname;

    private String productskuId;

    private String productskucode;

    private String productskuname;

    private String productclassId;

    private String productclasscode;

    private String productclassname;

    private String warehouseId;

    private String warehousecode;

    private String warehousename;

    private String unitId;

    private String unitcode;

    private String unitname;

    private int status = 0;

    //
    private String batchno;

    private String productdate;

    private String invaliddate;

    //采购单位
    private String purUOM;
    @YMSColumn(name = "purUOM_Name")
    private String purUOM_Name;
    @YMSColumn(name = "purUOM_Code")
    private String purUOM_Code;

    public String getInvaliddate() {
        return invaliddate;
    }

    public void setInvaliddate(String invaliddate) {
        this.invaliddate = invaliddate;
    }

    public String getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(String ordertype) {
        this.ordertype = ordertype;
    }

    public String getPurUOM() {
        return purUOM;
    }

    public void setPurUOM(String purUOM) {
        this.purUOM = purUOM;
    }

    public String getPurUOM_Name() {
        return purUOM_Name;
    }

    public void setPurUOM_Name(String purUOM_Name) {
        this.purUOM_Name = purUOM_Name;
    }

    public String getPurUOM_Code() {
        return purUOM_Code;
    }

    public void setPurUOM_Code(String purUOM_Code) {
        this.purUOM_Code = purUOM_Code;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getPuts() {
        return puts;
    }

    public void setPuts(String puts) {
        this.puts = puts;
    }

    public int getDr() {
        return dr;
    }

    public void setDr(int dr) {
        this.dr = dr;
    }

    public int getPkTemp() {
        return pkTemp;
    }

    public void setPkTemp(int pkTemp) {
        this.pkTemp = pkTemp;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getYtenant_id() {
        return ytenant_id;
    }

    public void setYtenant_id(String ytenant_id) {
        this.ytenant_id = ytenant_id;
    }

    public double getStockNum() {
        return stockNum;
    }

    public void setStockNum(double stockNum) {
        this.stockNum = stockNum;
    }

    public String getEpc_tid() {
        return epc_tid;
    }

    public void setEpc_tid(String epc_tid) {
        this.epc_tid = epc_tid;
    }

    public String getEpccode() {
        return epccode;
    }

    public void setEpccode(String epccode) {
        this.epccode = epccode;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getOrdercode() {
        return ordercode;
    }

    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode;
    }

    public String getOrderdetailid() {
        return orderdetailid;
    }

    public void setOrderdetailid(String orderdetailid) {
        this.orderdetailid = orderdetailid;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductcode() {
        return productcode;
    }

    public void setProductcode(String productcode) {
        this.productcode = productcode;
    }

    public String getProductname() {
        return productname;
    }

    public void setProductname(String productname) {
        this.productname = productname;
    }

    public String getProductskuId() {
        return productskuId;
    }

    public void setProductskuId(String productskuId) {
        this.productskuId = productskuId;
    }

    public String getProductskucode() {
        return productskucode;
    }

    public void setProductskucode(String productskucode) {
        this.productskucode = productskucode;
    }

    public String getProductskuname() {
        return productskuname;
    }

    public void setProductskuname(String productskuname) {
        this.productskuname = productskuname;
    }

    public String getProductclassId() {
        return productclassId;
    }

    public void setProductclassId(String productclassId) {
        this.productclassId = productclassId;
    }

    public String getProductclasscode() {
        return productclasscode;
    }

    public void setProductclasscode(String productclasscode) {
        this.productclasscode = productclasscode;
    }

    public String getProductclassname() {
        return productclassname;
    }

    public void setProductclassname(String productclassname) {
        this.productclassname = productclassname;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehousecode() {
        return warehousecode;
    }

    public void setWarehousecode(String warehousecode) {
        this.warehousecode = warehousecode;
    }

    public String getWarehousename() {
        return warehousename;
    }

    public void setWarehousename(String warehousename) {
        this.warehousename = warehousename;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public String getUnitcode() {
        return unitcode;
    }

    public void setUnitcode(String unitcode) {
        this.unitcode = unitcode;
    }

    public String getUnitname() {
        return unitname;
    }

    public void setUnitname(String unitname) {
        this.unitname = unitname;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getBatchno() {
        return batchno;
    }

    public void setBatchno(String batchno) {
        this.batchno = batchno;
    }

    public String getProductdate() {
        return productdate;
    }

    public void setProductdate(String productdate) {
        this.productdate = productdate;
    }
}
